package cn.iocoder.yudao.module.cmt.controller.admin.base.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商户信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BaseMerchantInfoPageReqVO extends PageParam {

    @Schema(description = "商户名称", example = "XX服务公司")
    private String name;

    @Schema(description = "商户编号", example = "M20250101001")
    private String merchantNo;

    @Schema(description = "社区ID", example = "1")
    private Long communityId;

    @Schema(description = "商户类型：1企业 2机构 3社会组织 4个体", example = "1")
    private Integer merchantType;

    @Schema(description = "审核状态：0待审核 1通过 2拒绝", example = "1")
    private Integer auditStatus;

    @Schema(description = "商户状态：0停用 1正常 2冻结", example = "1")
    private Integer merchantStatus;

    @Schema(description = "状态：0停用 1启用", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
